import React, { Component } from 'react'
// import Demo from './component/Demo1_setState/Demo1'
// import Demo from './component/Demo2_lazyLoad/Demo2'
// import Demo from './component/Demo3_Hooks/Demo3'
// import Demo from './component/Demo4_fragment/Demo4'
// import Demo from './component/Demo5_context/Demo5'
// import Demo from './component/Demo6_PureComponent/Demo6'
// import Demo from './component/Demo7_renderProps/Demo7'
import Demo from './component/Demo8_ErrorBoundary/Demo8'

export default class App extends Component {
  render() {
    return (
      <div>
        <Demo/>
      </div>
    )
  }
}
